package com.rc.saas.tenant.service.enterprise;

import com.rc.saas.tenant.base.BaseService;
import com.rc.saas.tenant.mapper.enterprise.RcEnterpriseGainRecordMapper;
import com.rc.saas.tenant.model.enterprise.RcEnterpriseGainRecord;
import com.rc.saas.tenant.model.enterprise.RcEnterpriseGainRecordExample;
import org.apache.ibatis.annotations.Param;

public interface RcEnterpriseGainRecordService extends BaseService<Long, RcEnterpriseGainRecord, RcEnterpriseGainRecordExample, RcEnterpriseGainRecordMapper> {
    RcEnterpriseGainRecord selectGainRecordByGain(Long enterpriseId, Long gainId);

    void insertReturnId(RcEnterpriseGainRecord rnterpriseGainRecord);

    RcEnterpriseGainRecord selectGainRecordByEnterprise(Long enterpriseId);

    void deleteGainRecordByEnterpriseId(Long enterpriseId);
}
